#include "stdio.h"
#include "math.h"

int main(int argc, char const *argv[]) {
	int n, s = 0, x = 1;
	scanf("%d", &n);
	for(int i=0; i < n; i++) {
		x = n * ( n - 1);
	}
	for(int i=1;i>0;i+=2) {
		s = n * i + x;
		if( s == (int)pow(n, 3)) {
			for(int j = 0; j < n; j++) {
				printf("%d ",i);
				i += 2;
			}
			break;
		}
	}
	printf("\b\n" );

	return 0;
}
